﻿using BootstrapBlazor.Components;
using BPM.Web.Shared.Data;

namespace BPM.Web.Shared.Service;

public interface ISysNoticeService
{
    Task<bool> AddAsync(SysNotice input);
    Task<bool> ChangeStatusAsync(SysNotice input);
    Task<bool> DeleteAsync(IEnumerable<SysNotice> input);
    Task<SysNotice?> DetailAsync(SysNotice input);
    Task<bool> EditAsync(SysNotice input);
    Task<QueryData<SysNotice>> PageAsync(NoticePageInput input);
    Task<QueryData<SysNotice>> ReceivedAsync(NoticePageInput input);
    Task<QueryData<SysNotice>> UnreadAsync(NoticeInput input);
}
